package com.wlz.java8.lambda.stream;

import com.wlz.java8.lambda.domain.Student;

/**
 * @author： wlz
 * @Date 2020/7/3 11:26
 * @description： TODO
 * @version: 1.0
 */
public class StudentFilterByAge implements StudentFilter {
    @Override
    public boolean compare(Student student) {
        return student.getAge()>14;
    }
}
